package com.zeros.mysplash.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

/**
 * Created by Administrator on 2017/12/20.
 */
@Data
@RequiredArgsConstructor(access = AccessLevel.PUBLIC, staticName = "splash")
public class Splash implements Serializable {

    private static final long serialVersionUID = 7382351359868556980L;//这里需要写死 序列化Id

    private int id;
    private int type;           //图片类型 Android 1 IOS 2

    private String surl;        //小图url
    @NonNull
    private String title;       //图片的标题(跳转到广告详情页-广告标题)
    @NonNull
    private String click_url;   //点击跳转 URl（跳转到广告详情页）

    @NonNull
    public String burl;        //大图 url（即Splash展示界面）
    @NonNull
    public String savePath;    //图片的存储地址(Sd卡地址)

//    public Splash(String burl, String savePath) {
//        this.burl = burl;
//        this.savePath = savePath;
//    }


}
